package com.android.inestpin.model.group;

import com.android.inestpin.model.detail.paydonetoshare;
import com.android.inestpin.utils.MyLog;
import com.android.inestpin.utils.okhttp3.Callback;
import com.google.gson.Gson;

import okhttp3.Response;

/**
 * Created by Administrator on 2017/7/4.
 */

public abstract  class WxPayEntryCallback extends Callback<paydonetoshare> {

    @Override
    public paydonetoshare parseNetworkResponse(Response response, int id) throws Exception {
        String string = response.body().string();
        MyLog.e("inest","WxPayEntryCallback="+string);
        paydonetoshare adPictureData = new Gson().fromJson(string,paydonetoshare.class);
        return adPictureData;
    }
}
